Calibration of laser systems

ABSTRACT

A method for determining a condition of the laser system includes determining a change in a laser current from an initial value. A method for measuring a laser current includes determining a difference between the values of a power supply current, which is the value of the laser current. A method for measuring a transmitted power includes generating a first control signal that sets a magnitude of a bias current supplied to a laser, generating a second control signal that sets a of a modulation current supplied to the laser, and determining a difference between values of a high and a low transmitted powers. A method for measuring a received optical power includes determining a received OMA corresponding to the power signal, which is the transmitted OMA minus a known loss through a calibration fiber that couples the laser transmitter to the laser receiver.

FIELD OF INVENTION

This invention relates to control and calibration of laser transmitters,receivers, and transceivers.

DESCRIPTION OF RELATED ART

Laser transceivers are commonly used to transmit and receive data inoptical networks. Parameters such as the laser drive current, thetransmitted power, and the received power must be calibrated so thelaser transceivers conform to established standards. Thus, what areneeded are methods and apparatuses that enhance the calibration of thelaser transceivers.

SUMMARY

In accordance with one aspect of the invention, a method for a lasersystem to determine a condition of the laser system includes generatinga temperature signal corresponding to a temperature of a laser,determining a present value of a current to the laser, determining aninitial value of the current from at least the temperature signal, anddetermining a change in the current. The change in the current indicatesthe condition of the laser system.

In accordance with one aspect of the invention, a method for a lasersystem to measure a value of a current supplied to a laser includescompleting a current path through the laser so the current flows throughthe laser, measuring a first value of a power supply current to thelaser system, blocking the current path so the current does not flowthrough the laser, measuring a second value of the power supply currentto the laser system, and determining a difference between the secondvalue and the first value of the power supply current. The differencebetween the second value and the first value is the value of the currentsupplied to the laser.

In accordance with one aspect of the invention, a method for a lasersystem to measure a transmitted power includes generating a firstcontrol signal that sets a first magnitude of a bias current supplied toa laser, generating a second control signal that sets a second magnitudeof a modulation current supplied to the laser, optically detecting ahigh transmitted power of the laser, generating a first power signalcorresponding to the high transmitted power detected, opticallydetecting a low transmitted power of the laser, and generating a secondpower signal corresponding to the low transmitted power detected. Thehigh and low power signals can be correlated to the values of high andlow transmitted powers of the laser at the present bias and modulationcurrents. The ratio of the high and low transmitted powers is anextinction ratio at the present bias and modulation currents. Thedifference between the values of the high and the low transmitted powersis an optical modulation amplitude (OMA) of the present bias andmodulation currents. The method may further include optically detectingan average received power of the laser transmitter, generating a thirdpower signal corresponding to the average received power detected, anddetermining the average received power corresponding to the third powersignal, wherein the average received power is the average transmittedpower minus the known loss through the calibration fiber.

In accordance with one aspect of the invention, a method for a laserreceiver in a laser system to measure a received power includesdetermining a transmitted optical modulation amplitude (OMA) of a lasertransmitter in the laser system in response to a bias current and amodulation current, optically detecting a received peak power of thelaser transmitter, generating a power signal corresponding to thereceived peak power detected, and determining the received OMAcorresponding to the power signal. The received OMA is the transmittedOMA minus a known loss through a calibration fiber that couples theoutput of the laser transmitter to the input of the laser receiver. Themethod further includes storing the values of the received OMA and thepower signal in a memory.

In accordance with one aspect of the invention, a method for a lasersystem to compensate a variability of a digital-to-analog converter oran analog-to-digital converter in the laser system includes generating atemperature signal corresponding to a temperature of a laser andadjusting a signal of the converter based on at least the temperaturesignal.

In accordance with one aspect of the invention, a laser transceiverincludes a controller, a bandwidth circuit, and a modulation driver. Thecontroller generates at least one control signal. The bandwidth circuitis a programmable low-pass filter (LPF) with at least one controlterminal receiving the control signal and at least one input terminalreceiving at least one data signal. The programmable LPF filters thedata signal based on the control signal. The modulation driver has atleast one input terminal receiving the filtered data signal. Themodulation driver provides a modulation current to a laser in responseto the filtered data signal.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic of a laser system in accordance with oneembodiment of the invention.

FIG. 2 is a schematic of a modulation driver that provides a currentImod to a laser in the laser system of FIG. 1 in one embodiment.

FIG. 3 is a schematic of a bypass circuit in the laser system of FIG. 1in one embodiment.

FIG. 3A illustrates tables stored in a memory in the laser system ofFIG. 1 in one embodiment.

FIG. 4 is a flow chart of a method to determine a degradation or amalfunction of the laser system of FIG. 1 in one embodiment.

FIG. 5 is a schematic of a current source that provides a current Ibiasto a laser in the laser system of FIG. 1 in one embodiment.

FIG. 6 is a flow chart of a method to measure current Ibias applied to alaser in the laser system of FIG. 1 in one embodiment.

FIG. 7 is a flow chart of a method to measure transmitted powers fromthe laser system of FIG. 1 in one embodiment.

FIG. 8 is a schematic of a receiver (RX) circuit in the laser system ofFIG. 1 in one embodiment.

FIG. 9 is a schematic of an analog-to-digital (ADC) block in the RXcircuit of FIG. 8 in one embodiment.

FIG. 9A is a schematic of a peak detector in the ADC block of FIG. 9 inone embodiment.

FIG. 10 is a flow chart of a method to measure received powers by thelaser system of FIG. 1 in one embodiment.

FIG. 11 is a flow chart of a method to compensate a variability of ADCsin the laser system of FIG. 1 in one embodiment.

FIG. 12 is a schematic of a circuit that compensates the variability ofADCs in the laser system of FIG. 1 in one embodiment.

FIG. 13 is a flow chart of a method to compensate a variability of DACsin the laser system of FIG. 1 in one embodiment.

FIG. 14 is a schematic of a circuit that compensates the variability ofDACs in the laser system of FIG. 1 in one embodiment.

FIGS. 15 and 16 are schematics of a gain amplifier in the laser systemof FIG. 1 in two embodiments.

DETAILED DESCRIPTION

FIG. 1 illustrates a laser system 100 (e.g., a laser transceiver) in oneembodiment of the invention. The anode of a laser 10 (e.g., a laserdiode) is connected to a supply rail 11 that provides a power supplyvoltage Vcc_tx and a power supply current Idd_tx. The cathode of laserdiode 10 is connected at a node 12 to a current source 14 that sinks aconstant current Ibias from laser diode 10. A controller 16 sets themagnitude of current Ibias by outputting a control signal IBIAS tocurrent source 14. Control signal IBIAS can be an analog signal or adigital signal having multiple bits.

The cathode of laser diode 10 is also connected at node 12 to amodulation driver 18 that sinks a modulation current Imod from laserdiode 10. FIG. 2 illustrates one embodiment of modulation driver 18.Bipolar transistors 20 and 22 have their emitter terminals tied to anode 24. A current source 26 sinks current Imod from node 24. Transistor20 has its collector terminal connected to supply rail 11 to receivecurrent. Transistor 22 has its collector terminal connected at node 12to the cathode of laser diode 10. Transistors 20 and 22 form adifferential pair that selectively allows current source 26 to sinkcurrent Imod from laser diode 10. Controller 16 sets the magnitude ofcurrent Imod by outputting a control signal IMOD to current source 26.Control signal IMOD can be an analog signal or a digital signal havingmultiple bits. The drive current applied to laser diode 10 is eithercurrent Ibias or the sum of currents Ibias and Imod. The average drivecurrent applied to laser diode 10 (hereafter “current Iavg”) isIbias+(Imod/2).

An amplifier 28 (FIG. 1) receives data signal IN_P and its complementIN_N to be transmitted by laser diode 10. In response, amplifier 28outputs amplified signals IN_P′ and IN_N′ to a bypass circuit 30. FIG. 3illustrates one embodiment of bypass circuit 30. By default, bypasscircuit 30 outputs signals IN_P′ and IN_N′ as control signals IN_P″ andIN_N″ to transistors 20 and 22 (FIG. 2) of modulation driver 18. Thepurpose and operation of bypass circuit 30 are described later in oneaspect of the invention.

A mirror 32 (FIG. 1) reflects a part of the light signal from laserdiode 10 to a light detector 34 (e.g., a photodiode) and transmits apart of the light signal to a fiber 36 that carries the light signal toanother component. Photodiode 34 is connected between supply rail 11 andan Imon ADC (analog-to-digital converter) 38. Photodiode 34 outputs ananalog signal Imon to Imon ADC 38. Analog signal Imon is proportional tothe reflected power received by photodiode 34. The reflected power isproportional to the transmitted power received by fiber 36 and the totaloutput power of laser diode 10. Imon ADC 38 outputs a digital signalIMON to controller 16.

An Iref source 40 outputs a reference signal IREF to controller 16.Reference signal IREF can be either digital or analog. Controller 16typically compares signals IREF and IMON to control laser diode 10 in aclosed feedback loop.

A temperature sensor 42 outputs a signal TEMP to a controller 43. SignalTEMP can be either digital or analog. Signal TEMP is proportional to thetemperature of laser diode 10.

A Vcc ADC 44 is connected to supply rail 11 and outputs a digital signalVCC_TX to controller 43. Signal VCC_TX is proportional to supply voltageVcc_tx supplied to laser diode 10.

A memory 46 (FIGS. 1 and 3A) outputs parameters for calibrating lasersystem 100 to controller 43. Memory 46 may be a programmable nonvolatilememory such as an EEPROM. Controller 43 communicates with a host on abus DIG_IO and with controller 16 on a bus DIGITAL_IO. The host can bean external processor, computer, or a test equipment.

Based on the difference between signals IREF and IMON, controller 16 canadjust current Iavg so laser diode 10 generates a constant output powerover a range of temperatures and power supply voltages. As laser diode10 degrades, controller 16 typically increases current Iavg to maintainthe constant output power. The difference between the present and theinitial values of current Iavg for any given temperature and supplyvoltage may indicate a degradation or a malfunction of laser diode 10.

In accordance with one aspect of the invention, the difference betweenthe present and the initial values of current Iavg is determined toindicate the degradation or malfunction of laser diode 10. FIG. 4 is aflowchart of a method 70 implemented by controller 43 to determine thechange in current Iavg in one embodiment.

In step 72, the initial values of current Iavg for a range oftemperatures and supply voltages are stored in a table 48 (FIG. 3A) inmemory 46. The initial values are experimentally determined to generatea constant power over different temperatures and supply voltages whenlaser system 100 is first manufactured. Instead of a table 48, afunction correlating the initial values of current Iavg to differenttemperatures and supply voltages can be extrapolated from experimentaldata and stored in memory 46. Typically, current Iavg is more dependenton the temperature than the supply voltage.

In step 74, controller 43 determines the present temperature of laserdiode 10 by reading signal TEMP from temperature sensor 42.

In step 76, controller 43 determines the present supply voltage Vcc_txto laser system 100 by reading signal VCC_TX from Vcc ADC 44.

In step 78, controller 43 determines an initial value of current Iavg atthe present temperature and supply voltage. Controller 43 can look upthe initial value of current Iavg in table 48. Alternatively, controller43 can calculate the initial value of current Iavg at the presenttemperature and supply voltage using the function extrapolated fromexperimental data.

In step 80, controller 43 determines the present value of current Iavg.Controller 43 receives the present value of current Iavg from the valuesof control signals IBIAS and IMOD from controller 16. As describedabove, current Iavg is equal to currents Ibias+Imod/2. Thus, controlsignals IBIAS and IMOD can be correlated to the value of current Iavg.

In step 82, controller 43 determines the change in current Iavg.Controller 43 can calculate the difference between the present and theinitial values of current Iavg. Alternatively, controller 43 cancalculate the ratio between the present and the initial values ofcurrent Iavg.

In step 84, controller 43 outputs the difference or the ratio to thehost on bus DIG_IO.

In step 86, the host uses the difference or the ratio to determine thecondition of laser diode 10. From experimental data, the host candetermine when the change in current Iavg indicates a need to replacelaser diode 10. In addition, the change in current Iavg can indicate amalfunction of laser diode 10 or laser system 100 if the changeincreases much faster than expected.

Referring back to FIG. 1, laser system 100 may include a switch 110between current source 14 and another supply rail (e.g., the ground).Controller 43 outputs a control signal MEAS_IBIAS_1 to the controlterminal of switch 110. When switch 110 is open, current source 14 doesnot have a current path to the ground and is thus turned “off.” Whencurrent source 14 is turned off, laser diode 10 does not draw anycurrent from supply rail 11 because the current path to the ground isbroken. Assuming modulation current Imod is turned off and all the othercomponents are kept in a steady state, current Ibias can be determinedby measuring the difference in supply current Idd_tx to laser system 100when current source 14 is on and off. For the measurement of currentIbias to be accurate, current source 14 must draw the same amount ofcurrent from supply rail 11 whether or not laser diode 10 draws currentfrom supply rail 11.

FIG. 5 illustrates one embodiment of current source 14. A DAC(digital-to-analog converter) 130 receives control signal IBIAS fromcontroller 43 and outputs a voltage signal to a voltage-to-current (V/I)converter 131. V/I converter 131 includes an operational amplifier 132that outputs an amplified voltage signal, set by resistor 134, to thegate of an NMOS transistor 136. Transistor 136 sinks a first referencecurrent from a current mirror 137 formed by PMOS transistors 138 and 140that are pulled up to supply rail 11. Current mirror 137 mirrors thefirst reference current and sources a second reference current to acurrent mirror 142 formed by bipolar transistors 144 and 146 that arepulled down to the ground. Current mirror 142 mirrors the secondreference current and sinks current Ibias at node 12 from laser diode10. Switch 110 (e.g., a NMOS transistor) is coupled between the emitterterminal of transistor 146 and the ground. When transistor 110 is turnedoff, current mirror 142 does not sink current Ibias from laser diode 10.For matching purposes, a permanently on NMOS transistor 148 is alsocoupled between the emitter terminal of transistor 144 and the ground.

To ensure that current source 14 draws a constant current from supplyrail 11, an PMOS transistor 150 is coupled between supply rail 11 and acurrent source 152. Controller 43 outputs control signal MEAS_IBIAS_1 tothe gate of transistor 150. Current source 152 sinks a current Ibias/Bfrom supply rail 11 when transistor 110 decouples the emitter terminalof transistor 146 from the ground. Current Ibias/B is the base leakagecurrent drawn by bipolar transistor 146 when it conducts. Thus, currentsource 14 draws the same amount of current from supply rail 11 whetheror not laser diode 10 draws current from supply rail 11.

Referring back to FIG. 1, laser system 100 may include a switch 170 thatcouples photodiode 34 and Imon ADC 38. Controller 43 outputs a controlsignal MEAS_IBIAS_2 to the control terminal of switch 170. When switch170 is open, photodiode 34 does not draw any current from supply rail 11and is thus turned “off.”

In accordance with one aspect of the invention, current source 14 isturned on and off so supply current Idd_tx to laser system 100 can bemeasured to determine the value of current Ibias. FIG. 6 is a flowchartof a method 190 implemented by controller 43 to measure current Ibias inone embodiment. In method 190, an external source measurement unit (SMU)172 (FIG. 1) is connected to supply rail 11 to provide power to lasersystem 100.

In step 192, controller 43 sets modulation driver 18 in a steady stateso it draws a constant current from supply rail 11. Controller 43 canset modulation driver 18 to be constantly on or off using bypass circuit30 (described later) and cause controller 16 to set control signal IMODto its lowest value. Controller 43 can also turn off photodiode 34 byopening switch 170 (FIG. 1).

In step 194, controller 43 closes switch 110 (FIG. 1) to turn on currentsource 14 and then instructs controller 16 to set control signal IBIASto provide current Ibias to laser diode 10.

In step 196, SMU 172 measures a first value of supply current Idd_tx tolaser system 100.

In step 198, controller 43 opens switch 110 to turn off current source14 so laser diode 10 does not draw any current from supply rail 11. Inaddition, controller 43 closes transistor 150 (FIG. 5) so current source14 continues to draw the same amount of current from supply rail 11.

In step 200, SMU 172 measures a second value of the supply currentIdd_tx.

In step 202, a difference between the first and the second values ofsupply current Idd_tx is determined The difference is the value ofcurrent Ibias supplied to laser diode 10.

Referring back to FIGS. 1 and 3, laser system 100 may include bypasscircuit 30 controlled by signals SET, CLR, and IN_AVG according to thefollowing truth table. SET 0 1 0 0 CLR 0 0 1 0 IN_AVG 0 0 0 1 IN_P”IN_P' 1 0 Signal IN_P”= Signal IN_N” IN_N” IN_N' 0 1 Signal IN_P”=Signal IN_N”

When any one of signals SET, CLR, and IN_AVG is high, a NOR gate 32turns off transistors 34 and 36 to decouple input signals IN_P′ andIN_N′ from output signals IN_P″ and IN_N.″

When only signal SET is high, a transistor 38 couples the non-invertedterminal of an amplifier 39 to supply rail 11 while a transistor 40couples the inverted terminal of amplifier 39 to the ground. This causesamplifier 39 to output a high signal IN_P″ and a low signal IN_N.″Controller 43 brings signal SET high to cause modulation driver 18 toconstantly supply current Imod to laser diode 10. This may be used so atransmitted power P1 that represents a logical HIGH can be measured.

When only signal CLR is high, a transistor 42 couples the non-invertedterminal of amplifier 39 to the ground while a transistor 44 couples theinverted terminal of amplifier 39 to supply rail 11. This causesamplifier 39 to output a low signal IN_P″ and a high signal IN_N.″Controller 43 brings control signal CLR high to cause modulation driver18 to stop supplying current Imod to laser diode 10. This may be used soa transmitted power P0 that represents a logical LOW can be measured.

When only signal IN_AVG is high, a transistor 46 shorts the inputterminals of amplifier 39 together while a transistor 48 shorts theoutput terminals of amplifier 39 together. This causes amplifier 39 tooutput signals IN_P′ and IN_N′ having the same voltage value. Controller43 brings control signal IN_AVG high to cause modulation driver 18 toconstantly supply half of current Imod to laser diode 10. This may beused so the average transmitted power Pavg_tx can be measured.

In accordance with one aspect of the invention, current Imod isselectively supplied to laser diode 10 so that a transmitted OMA(optical modulation amplitude), an extinction ratio, and transmittedpowers P1, P0, and Pavg_tx can be measured. FIG. 7 is a flowchart of amethod 230 implemented by controller 43 to measure these characteristicsin one embodiment.

In step 232, transmitted powers corresponding to values of signal IMONare stored in a table 50 (FIG. 3A) in memory 46. The transmitted powersare experimentally measured with an optical meter for the correspondingvalues of signal IMON. Instead of table 50, a function correlating thevalues of signal IMON to the transmitted powers can be extrapolated fromexperimental data and stored in memory 46.

In step 234, controller 43 detects that laser system 100 is powering on.Alternatively, controller 43 receives a request from the host to measureany one of transmitted OMA, extinction ratio, and transmitted powers P1,P0, and Pavg_tx.

In step 235, controller 43 instructs controller 16 to set the initialvalues of current Ibias and Imod for the calibration process.

In step 236, constant currents Ibias and Imod are applied to laser diode10 to generate transmitted power P1. To do so, controller 43 bringssignal SET high so modulation driver 18 provides a constant current Imodto laser diode 10.

In step 238, controller 43 reads the value of signal IMON (hereafter“signal IMON(HIGH)”) in response to the constant currents Ibias andImod.

In step 240, constant current Ibias is applied to laser diode 10 togenerate transmitted power P0. To do so, controller 43 brings signal CLRhigh and signal SET low so modulation driver 18 does not provide amodulated current Imod to laser diode 10.

In step 242, controller 43 reads the value of signal IMON (hereafter“signal IMON(LOW)”) in response to the constant current Ibias.

In step 243, half of current Imod is applied to laser diode 10 togenerate transmitted power Pavg_tx. To do so, controller 43 bringssignal IN_AVG high and signal CLR low so modulation driver 18 provideshalf of current Imod to laser diode 10.

In step 244, controller 43 reads the value of signal IMON (hereafter“signal IMON(AVG)”) in response to current Ibias and half of currentImod.

In step 246, controller 43 correlates the values of signals IMON(HIGH),IMON(LOW), and IMON(AVG) to transmitted powers P1, P0, and Pavg_tx atthe present drive current. Controller 43 can look up the values oftransmitted powers P1, P0, and Pavg_tx in table 50 based on the valuesof signals IMON(HIGH), IMON(LOW), and IMON(AVG). Alternatively,controller 43 can calculate the transmitted powers P1, P0, and Pavg_txusing the function extrapolated from experimental data.

In step 247, controller 43 determines a ratio of power P1 to power P0.This ratio is the extinction ratio of the transmitted powers at thepresent drive currents.

In step 248, controller 43 determines the difference between transmittedpowers P1 and P0. The difference is the transmitted OMA of laser diode10 at the present drive current.

In step 249, controller 43 stores the transmitted OMA, transmittedpowers P1, P0, and Pavg_tx, and the extinction ratio for the presentcurrents Ibias and Imod in a table 51 (FIG. 3A) in memory 46. Controller43 can also output the transmitted OMA, the extinction ratio, andtransmitted powers P1, P0, and Pavg_tx to the host on bus DIG_IO.

In step 250, controller 43 instructs controller 16 to change currentIbias and/or current Imod. Step 250 is followed by step 236 and method230 repeats until the transmitted powers for a range of currents Ibiasand Imod have been determined. Thereafter in operation, the host orcontroller 43 can instruct controller 16 to use values of currents Ibiasand Imod that produce the desired transmitted powers.

Referring back to FIG. 1, laser system 100 may include an RX circuit 270that decodes a light signal received from a fiber 272. A light detector274 (e.g., a photodiode) outputs to RX circuit 270 an analog currentsignal IN1 proportional to the optical power of the light signal. RXcircuit 270 converts current signal IN1 to voltage data signal OUT_P andits complement OUT_N. RX circuit 270 also outputs signals IPINAVG andRX_OMA to controller 43. Signal IPINAVG is proportional to the averageoptical power of the light signal. Signal RX_OMA is proportional to thereceived OMA of the light signal.

FIG. 8 illustrates one embodiment of RX circuit 270. A resistor 290 anda capacitor 292 form an RC filter that provides a filtered voltage Vbiasto photodiode 274. Photodiode 274 outputs signal IN1 to the non-invertedterminal of a transimpedance amplifier (TIA) 294. TIA 294 has theinverted terminal coupled to the ground as a reference.

TIA 294 converts current signal IN1 to a voltage signal OUT_P′ and itscomplement OUT_N′. TIA 294 outputs signals OUT_P′ and OUT_N′ to anampilifier 296 and an ADC block 297. Amplifier 296 outputs amplifiedsignal OUT_P and its complement OUT_N to the host. Additional gainstages 298 may be used to further amplify signals OUT_P and OUT_N.

TIA 294 includes a DC cancellation circuit 299 that feeds back a DCcancellation current to the non-inverted terminal of amplifier 294. TheDC cancellation current is proportional to the average optical power ofthe light signal received by photodiode 274. DC cancellation circuit 299also includes a current mirror that mirrors the DC cancellation currentand outputs it as a signal In_DC to ADC block 297. FIG. 9 illustratesone embodiment of ADC block 297. ADC block 297 includes a peak detector320 coupled to receive signals OUT_P′ and OUT_N′. Peak detector 320outputs an analog signal Vpeak that is proportional to the peak level ofsignals OUT_P′ and OUT_N′, which is proportional to the received OMA ofthe light signal. Peak detector 320 also outputs a reference signalVpeakref derived from signals OUT_P′ and OUT_N′.

An OMA ADC 324 converts signal Vpeak to a digital signal RX_OMA. OMA ADC324 receives signal Vpeakref as a reference signal. Current signal In_DCis forced through a resistor 326 to generate an input voltage signal toan average ADC 328. Average ADC 328 converts the input voltage signal toa digital signal IPINAVG. Average ADC 328 has a reference terminalcoupled to ground.

FIG. 9A illustrates one embodiment of peak detector 320. Peak detector320 includes a differential pair 330 that selectively passes signalsOUT_P′ and OUT_N′ to a holding capacitor 332. Holding capacitor 332captures the highest voltage output from differential pair 330, which isthe peak voltage of signals OUT_P′ and OUT_N′ level-shifted one baseemitter junction voltage drop. The peak voltage is provided as signalVpeak.

A voltage divider 334 is coupled between lines that carry signals OUT_P′and OUT_N′. Voltage divider 334 outputs the average of their voltages toa holding capacitor 336. Holding capacitor 336 captures the highestvoltage output from voltage divider 334 level-shifted one base emitterjunction voltage drop, which is provided as reference signal Vpeakref.

In accordance with one aspect of the invention, a calibration fiber witha known loss is used to couple the output and the input of laser system100 to measure the received OMA and the average received power Pavg_rx.FIG. 10 is a flow chart of a method 360 implemented by controller 43 tomeasure the received OMA and power Pavg_rx in one embodiment.

In step 362, controller 43 determines the transmitted OMA and averagetransmitted power Pavg_tx for given values of currents Ibias and Imod.Controller 43 can determine the transmitted OMA and power Pavg_tx withmethod 230 (FIG. 7) described above.

In step 364, the calibration fiber is connected between the output andthe input of laser system 100 and modulated signals IN_P and IN_N with abalanced pattern is provided either externally or internally. Thus,fibers 36 and 272 (FIG. 1) are part of the same calibration fiber. Lasersystem 100 is then put into an auto-calibration mode.

In step 366, controller 43 reads the value of signal RX_OMA from OMA ADC324 (FIG. 9).

In step 368, controller 43 determines the received OMA. The received OMAis equal to the determined transmitted OMA minus the known loss throughthe calibration fiber.

In step 370, controller 43 stores the value of signal RX_OMA and thecorresponding value of the received OMA in a table 52 (FIG. 3A) inmemory 46.

In step 372, controller 43 reads the value of signal INPINAVG fromaverage ADC 328 (FIG. 9).

In step 374, controller 43 determines the average received powerPavg_rx. Power Pavg_rx is equal to the average transmitted power Pavg_txminus the known loss through the calibration fiber.

In step 376, controller 43 stores the value of signal INPINAVG and thecorresponding value of power Pavg_rx in a table 53 (FIG. 3A) in memory46.

In step 378, controller 43 instructs controller 16 to change (e.g.,increase) the value of current Ibias and/or the value of current Imod.Step 378 is followed by step 362 and method 360 is repeated for a rangeof currents Ibias and Imod to calibrate the measurement of the receivedOMA and power Pavg_rx.

In accordance with one aspect of the invention, the dependence of an ADCon temperature and supply voltage is compensated. The ADC that can becompensated includes Imon ADC 38 (FIG. 1), OMA ADC 324 (FIG. 9), averageADC 328 (FIG. 9), and other ADCs in system 100. FIG. 11 is a flowchartof a method 400 implemented by a controller to compensate the dependenceof the ADC on temperature and supply voltage in one embodiment. Method400 can also compensate the dependencies of a device source (e.g., asensor) that generates the ADC input when they are calibrated together.

In step 402, compensated ADC outputs corresponding to actual ADC outputsfor a range of temperatures and/or supply voltages are stored in a table54 (FIG. 3A) in memory 46. The compensated ADC outputs are calibrated byproviding known analog inputs to the ADC and recording the actual ADCoutputs for a range of temperatures and/or supply voltages. For example,a light signal with a known power can be provided to photodiode 274. Theactual ADC outputs of ADC 324 are recorded for the range of temperaturesand/or supply voltages. These values are stored in table 54 with acompensated ADC output that represents the known power. The process isthen repeated for other known powers. Instead of table 54, a functioncorrelating the compensated ADC outputs to the actual ADC outputs forthe range of temperatures and/or supply voltages can be extrapolatedfrom experimental data and stored in memory 46.

In step 404, the controller reads the present temperature.

In step 406, the controller reads the present supply voltage.

In step 408, the controller reads the actual ADC output.

In step 410, the controller correlates the actual ADC output at thepresent temperature and/or supply voltage to a compensated ADC output.The controller can look up the compensated ADC output in table 54 basedon the actual ADC output, the present temperature, and the presentsupply voltage. Alternatively, the controller can calculate thecompensated ADC output using the function extrapolated from experimentaldata. The compensated ADC output is then used by any controller tooperate laser system 100.

FIG. 12 illustrates a circuit 429 for compensating the dependence of anADC on temperature and supply voltage in one embodiment. Circuit 429 canbe used with any ADCs in laser system 100. A sensor 430 outputs ananalog voltage signal to a programmable voltage offset circuit 432(e.g., an R2R circuit). R2R circuit 432 outputs a voltage signal to aprogrammable amplifier 434. R2R circuit 432 can be programmed by thecontroller to add a specific voltage offset to its output signal.Programmable amplifier 434 outputs an amplified voltage signal to an ADC436. Programmable amplifier 434 can be programmed by the controller toamplify its output signal with a specific gain.

The voltage offset and gain are used to compensate the temperature andsupply voltage dependencies of ADC 436. Values of the voltage offset andgain can be calibrated by providing a known input to sensor 430 andadjusting the voltage offset and the gain for a range of temperaturesand supply voltages so the ADC output is consistent for the same input.All the values are saved in a table 56 (FIG. 3A) in memory 46. Theprocess is then repeated for other known inputs. Instead of table 56, afunction can be extrapolated from the experimental data and stored inmemory 46. In operation, the controller will read the values of thetemperature and the supply voltage. Depending on the temperature and thesupply voltage, the controller will provide the appropriate voltageoffset and gain to R2R circuit 432 and amplifier 434, respectively.

In accordance with one aspect of the invention, the dependence of a DACon temperature and supply voltage is compensated. The DAC that can becompensated includes DAC 130 (FIG. 5), a DAC (not shown) in currentsource 26 (FIG. 2) in modulation driver 18, and other DACs in lasersystem 100. FIG. 13 is a flowchart of a method 460 implemented by acontroller to compensate the dependence of the DAC on temperature andsupply voltage in one embodiment. Method 460 can also compensate thedependencies of a device (e.g., a V/I converter) receiving the DACoutput when they are calibrated together.

In step 462, DAC inputs and corresponding DAC outputs for a range oftemperatures and supply voltages are stored in a table 58 in memory 46.A DAC input can be calibrated by measuring the corresponding DAC outputsfor a range of temperatures and supply voltages. The DAC input and thecorresponding DAC outputs for these temperatures and supply voltages aresaved. The above steps are then repeated for other DAC inputs. Insteadof table 58, a function can be extrapolated from experimental data andstored in memory 46.

In step 464, the controller reads the present temperature.

In step 466, the controller reads the present supply voltage.

In step 468, the controller determines the desired DAC output.

In step 470, the controller correlates the desired DAC output at thepresent temperature and supply voltage to a DAC input. The controllercan look up the DAC input in table 58. Alternatively, the controller cancalculate the DAC input using the function extrapolated fromexperimental data.

In step 472, the controller provides the DAC input to the DAC.

FIG. 14 illustrates a circuit 489 for compensating the dependence of aDAC on temperature and supply voltage in one embodiment. A DAC 490outputs an analog voltage signal to a programmable offset circuit 492(e.g., an R2R circuit). R2R circuit 492 outputs a voltage signal to anamplifier 494. R2R circuit 492 can be programmed by the controller toadd a specific voltage offset to its output signal. Amplifier 494outputs an amplified voltage signal to a device 496 (e.g., a V/Iconverter). Amplifier 494 can be programmed by the controller to amplifyits output signal with a specific gain.

The voltage offset and gain are used to compensate the temperature andsupply voltage dependencies of the DAC. Values of the voltage offset andgain can be calibrated by providing an input to DAC 490 and adjustingthe voltage offset and the gain for a range of temperatures and supplyvoltages so the output of device 496 is consistent for the same input.The process is then repeated for other DAC inputs. All the values aresaved in a table 60 (FIG. 3A) in memory 46. Instead of table 60, afunction can be extrapolated from the experimental data and stored inmemory 46. In operation, the controller will read the temperature andsupply voltage. Depending on the temperature and supply voltage, thecontroller will provide the appropriate voltage offset and gain to R2Rcircuit 492 and amplifier 494, respectively.

Referring back to FIG. 1, laser system 100 may include amplifier 28 witha programmable low-pass filter to adjust the bandwidth of data signalsIN_P and IN_N. Controller 43 outputs a control signal BW to amplifier 28to set the frequency response of the low-pass filter. Control signal BWcan be a digital signal with multiple bits. Control signal BW is storedin memory 46. The host writes to memory 46 to change the value ofcontrol signal BW to compensate the variations of laser system 100between parts and over temperature.

FIG. 15 illustrates one embodiment of amplifier 28 with the programmablelow-pass filter. Data signals IN_P and IN_N are level-shifted bytransistors 522 and 524, respectively. Data signals IN_P and IN_N arethen filtered by RC filters 526 and 528, respectively. The capacitanceof RC filter 526 can be adjusted by changing the number of capacitors C0to C3 that are coupled in parallel by NMOS transistors M4 to M7.Similarly, the capacitance of RC filter 528 can be adjusted by changingthe number of capacitors C4 to C7 that can be coupled in parallel byNMOS transistors M0 to M3. NMOS transistors M0 to M7 are controlled bycontrol signals BW0 to BW3 (collectively called “control signal BW”)from controller 43. The outputs from RC filters 526 and 528 are passedto a differential pair 530 that selectively outputs the filtered datasignals, which are then level-shifted again by transistors 532 and 534,respectively.

FIG. 16 illustrates another embodiment of amplifier 28 with rise/falltime and pulse width adjustment circuitry. Data signals IN_N and IN_Pare selectively passed out by a differential pair 550 formed by bipolartransistors 552 and 554. The data signals are then level-shifted bybipolar transistors 556 and 558 as data signals OUT_P and OUT_N.

Resistors 560 and 562 set the base voltages applied to transistors 556and 558, respectively. NMOS transistors 564 and 566 can be turned on tocouple capacitors 568 and 570 to resistor 560. This adds additionalcapacitance to resistor 560 and slows down the rise and fall times ofsignal OUT_P. Similarly, NMOS transistors 572 and 574 can be turned onto couple capacitors 576 and 578 to resistor 562. This slows down therise and fall times of signal OUT_P OUT_N. Transistors 564, 566, 572,and 574 are turned on by control signals trf1 and trf0 (showncollectively as “control signal TRF” in FIG. 1).

Currents from the emitter terminals of transistors 552 and 554 are sunkthrough resistors 580 and 582 by a current source 583. The inputthreshold of transistors 552 and 554 of differential pair 550 can bechanged by turning on additional current sources 584 and 586 coupled tothe emitter terminals of transistors 552 and 554. This causestransistors 552 and 554 to be turned on faster or slower, therebychanging the pulse width of signals OUT_P and OUT_N. Transistors 588 and590 turn on current sources 584 and 586, respectively, in response tocontrol signals pw1 and pw0 (shown collectively as “control signal PW”in FIG. 1).

Control signals TR and PW can be stored in memory 46. The host writes tomemory 46 to change the value of control signals TR and PW to compensatethe variations of laser system 100 between parts, over time, and overtemperature.

As understood by one skilled in the art, the embodiments of amplifier 28in FIGS. 15 and 16 can be combined into a single amplifier 28 to providebandwidth, rise and fall time, and pulse width adjustment.

Laser system 100 may also include amplifier 296 (FIG. 8) that includescircuitry for adjusting the bandwidth, the rise and fall time, and thepulse width of the received data signals OUT_P′ and OUT_N′. Amplifier296 can be similarly constructed as amplifier 28 described above.

Various other adaptations and combinations of features of theembodiments disclosed are within the scope of the invention. Forexample, modulation drivers which are AC-coupled from the driver to thelaser, either single-ended thru one capacitor, or differentially thrutwo capacitors, may be utilized in some systems. Without specialcircuits the same technique to set the drive current to the logic zeroand logic one values do not work as the dc signal Imod would be blockedby the capacitors. In the AC-coupled driver case, the prior circuitdescribed is still effective to capture IMON(AVG) and Pavg_tx aspreviously described. In order to measure IMON(LOW), IMON(HIGH) andcorrelate to P0, P1, TX_OMA, an additional driver circuit is necessaryto provide the same modulation currents as the AC coupled driver, butconnected to add the current direct-coupled to the Ibias current source14. In normal operation this circuit would be inactivated. Numerousembodiments are encompassed by the following claims.

1. A method for a laser system to determine a condition of the lasersystem, comprising: generating a temperature signal corresponding to atemperature of a laser; determining a present value of a current to thelaser; determining an initial value of the current based on at least thetemperature signal; and determining a change in the current, wherein thechange in the current indicates the condition.
 2. The method of claim 1,wherein said determining an initial value of the current comprises usinga relationship of values of the current and the temperature signal in amemory, the relationship is stored in a manner selected from the groupconsisting of a table and a function.
 3. The method of claim 1, furthercomprising: generating a supply voltage signal corresponding to a supplyvoltage to the laser system; and wherein said determining an initialvalue of the current is further based on the supply voltage signal. 4.The method of claim 3, wherein said determining an initial value of thecurrent comprises using a relationship of values of the current, thetemperature signal, and the supply voltage signal in a memory, therelationship is stored in a manner selected from the group consisting ofa table and a function.
 5. The method of claim 1, wherein saiddetermining a change in the current comprises a step selected from thegroup consisting of calculating a difference between the present valueand the initial value of the current, and calculating a ratio betweenthe present value and the initial value of the current.
 6. The method ofclaim 1, wherein said determining a present value of a current comprisesadjusting the present value of the current according to a differencebetween a reference signal and a feedback signal proportional to anoutput power of the laser.
 7. The method of claim 1, wherein thecondition is selected from the group consisting of a degradation of thelaser system and a malfunction of the laser system.
 8. The method ofclaim 1, further comprising outputting the change in the current to ahost.
 9. A laser system, comprising: a memory, the memory storing arelationship between a plurality of initial values of a current to alaser for at least a plurality of values of a temperature signal; and acontroller, the controller being coupled to receive the temperaturesignal, an initial value of the current from the memory based on atleast the temperature signal, and a present value of the current, thecontroller further being programmed to determine a change in thecurrent.
 10. The laser system of claim 9, wherein the memory furtherstores the relationship between the initial values of the current forthe plurality of values of temperature signals and a second plurality ofvalues of voltage supply signals, the controller receiving the initialvalue of the current from the memory based on at least the temperaturesignal, the present value of the current, and the voltage supply signal.11. The laser system of claim 9, wherein the relationship is stored in amanner selected from the group consisting of a table and a function. 12.A method for a laser system to measure a value of a current to a laser,comprising: completing a current path through the laser so the currentflows through the laser; measuring a first value of a power supplycurrent to the laser system; blocking the current path through the laserso the current does not flow through the laser; measuring a second valueof the power supply current to the laser system; and determining adifference between the second value and the first value of the powersupply current, wherein the difference is the value of the current. 13.The method of claim 12, wherein said completing a current path comprisesclosing a switch coupling a current source and a supply rail so thecurrent source provides the current to the laser.
 14. The method ofclaim 13, further comprising, when the current path is blocked, turningon a second current source to draw a second current from a second supplyrail.
 15. The method of claim 12, further comprising turning off a photodetector.
 16. The method of claim 12, further comprising turning off asecond current source that provides a modulated current to the laserdiode.
 17. A laser system, comprising: a laser; a switch in the currentpath of the laser; and a controller outputting a control signal to acontrol terminal of the switch, wherein the controller can open theswitch to prevent a current flow in the current path.
 18. The lasersystem of claim 17, further comprising a current source having a firstterminal coupled to the laser and a second terminal coupled by theswitch to a supply rail, wherein the current source provides a currentto the laser.
 19. The laser system of claim 18, further comprising asecond switch coupling a second current source to a second supply rail,the second switch having a control terminal receiving the controlsignal, the second current source drawing a second current from thesecond supply rail.
 20. The laser system of claim 18, furthercomprising: a photo detector; a second switch in a second current pathof the photo detector, the controller outputting a second control signalto a second control terminal of the second switch, wherein thecontroller can open the second switch to prevent a second current flowin the second current path.
 21. The laser system of claim 20, furthercomprising an analog-to-digital converter coupled by the second switchto the photo detector.
 22. The laser system of claim 17, wherein thecurrent source comprises: a current mirror coupled to a supply rail, thecurrent mirror receiving a reference current signal and providing amirror current to the laser, wherein the switch couples a terminal of atransistor in the current mirror to the supply rail.
 23. The lasersystem of claim 22, further comprising a switch coupling a secondcurrent source to a second supply rail, the second current sourcedrawing a second current from the second supply rail.
 24. The lasersystem of claim 22, wherein the current source further comprises: adigital-to-analog converter converting a digital input signal to ananalog voltage signal; a voltage-to-current converter converting theanalog voltage signal to a second reference current signal; a secondcurrent mirror coupled to a second supply rail, the first current mirrorreceiving the second reference current signal and sourcing the firstreference current signal to the current mirror; and wherein the currentmirror sinks the current from the laser.
 25. A method for a laser systemto measure a transmitted power, the laser system comprising a lasertransmitter and an integrated controller: generating a first controlsignal that sets a first magnitude of a bias current applied to a laser;generating a second control signal that sets a second magnitude of amodulation current applied to the laser; generating a third controlsignal that causes a driver to generate the modulation current, whereinthe laser generates a first transmitted power in response to themodulation current; optically detecting the first transmitted power;generating a first power signal corresponding to the first transmittedpower detected; generating a fourth control signal that causes thedriver to stop generating the modulation current, wherein the lasergenerates a second transmitted power in response to an absence of themodulation current. optically detecting the second transmitted power;and generating a second power signal corresponding to the secondtransmitted power detected.
 26. The method of claim 25, furthercomprising determining the first transmitted power and the secondtransmitted power based on the first power signal and the second powersignal, respectively.
 27. The method of claim 26, wherein saiddetermining the first transmitted power and the second transmitted powercomprises a step selected from the group consisting of looking up thefirst transmitted power and the second transmitted power based on thefirst power signal and the second power signal, respectively, andcalculating the first transmitted power and the second transmitted powerbased on the first power signal and the second power signal,respectively.
 28. The method of claim 26, further comprising determininga difference between the first transmitted power and the secondtransmitted power as a transmitted optical modulation amplitude (OMA).29. The method of claim 28, further comprising determining a ratiobetween the first and the second transmitted power as an extinctionratio of the laser at the first and the second magnitudes.
 30. Themethod of claim 29, further comprising: generating a third controlsignal that causes the driver to generate one half of the modulationcurrent, wherein the laser generates an average transmitted power inresponse to the half modulation current; optically detecting the averagetransmitted power of the laser; generating a third power signalcorresponding to the average transmitted power detected; and determiningthe average transmitted power based on the third power signal.
 31. Themethod of claim 30, further comprising: changing a value of at least oneof the first control signal and the second control signal; and repeatingthe above steps to determine at least one of the extinction ratio, thefirst transmitted power, the second transmitted power, the OMA, and theaverage transmitted power.
 32. The method of claim 30, wherein saiddetermining the average transmitted power comprises a step selected fromthe group consisting of looking up the average transmitted power basedon the third power signal and calculating the average transmitted powerbased on the third power signal.
 33. The method of claim 28, wherein thelaser system further includes a laser receiver, the method furthercomprising: optically detecting a peak received power of the lasertransmitter, wherein a calibration fiber with a known loss couples thelaser transmitter to the laser receiver; generating a third power signalcorresponding to the peak received power detected; and determining areceived OMA corresponding to the third power signal, wherein thereceived OMA is the transmitted OMA minus the known loss through thecalibration fiber.
 34. The method of claim 33, further comprising:changing a value of the second control signal to change the secondmagnitude; and repeating said optically detecting a peak received power,said generating a third power signal, said determining a received OMA todetermine the received OMA at the changed modulation current.
 35. Themethod of claim 28, further comprising: optically detecting an averagereceived power of the laser transmitter, wherein a calibration fiberwith a known loss couples the laser transmitter to the laser receiver;generating a third power signal corresponding to the average receivedpower detected; and determining the average received power correspondingto the third power signal, wherein the average received power is theaverage transmitted power minus the known loss through the calibrationfiber.
 36. The method of claim 35, further comprising: changing a valueof the third control signal to change the first magnitude; and repeatingsaid optically detecting an average received power, said generating athird power signal, and said determining the average received power todetermine the average received power at the changed bias current.
 37. Alaser system, comprising: a controller generating a plurality of controlsignals; and a laser transmitter comprising: a laser; a bypass circuitreceiving the plurality of control signals, the bypass circuitgenerating at least one output signal, wherein the output signalselectively comprises (1) a first data signal of a first level, (2) asecond data signal of a second level, (3) a third data signal of a thirdlevel, and (4) a fourth data signal from a host; a first driver having acontrol terminal coupled to receive the output signal of the bypasscircuit, the first driver providing a modulation current to the laserbased on the output signal of the bypass circuit; and a second driverproviding a bias current to the laser.
 38. The laser system of claim 37,further comprising a laser receiver, wherein the laser transmitter iscoupled to the laser receiver with a calibration fiber with a knownpower loss.
 39. The laser system of claim 38, wherein the laser receivercomprising a light sensor outputting an analog signal to ananalog-to-digital circuit, the analog-to-digital circuit outputting apeak signal corresponding to a received optical modulation amplitude(OMA).
 40. The laser system of claim 39, wherein the analog-to-digitalcircuit further outputs an average signal corresponding to an averagereceived power.
 41. The laser system of claim 40, further comprising amemory, the memory storing a transmitted OMA and an average transmittedpower.